---
id: 658212ba98182f3e855e85f9
title: ステップ 1
challengeType: 20
dashedName: step-1
---

# --description--

In this project, you're going to build a simple, yet functional expense tracker in Python.

Start by defining a function named `add_expense` that takes three parameters: `expenses`, `amount` and `category`. Use the `pass` keyword to fill the function body.

# --hints--

You should declare a function named `add_expense`.

```js
({ test: () => assert(__pyodide.runPython(`
    import inspect    
    inspect.isfunction(add_expense)
  `))
})
```

Your `add_expense` function should take three parameters: `expenses`, `amount` and `category`.

```js
({ test: () => assert(__pyodide.runPython(`
    import inspect    
    sig = str(inspect.signature(add_expense))
    sig == '(expenses, amount, category)'
  `))
})
```

# --seed--

## --seed-contents--

```py
--fcc-editable-region--

--fcc-editable-region--
```
